package org.example.factory.simple;

/**
 * @author wangbin
 * @date 2024/4/17
 * @vesion 1.0
 */
public class OrderPazz {

    SimpleFactory simpleFactory;
    Pazz pazz= null;

    public OrderPazz(SimpleFactory simpleFactory) {

    }

    public  void setFactory(SimpleFactory simpleFactory){
        String typeStr ="greek";
        this.simpleFactory = simpleFactory;
        pazz = this.simpleFactory.createPazz(typeStr);
    }


}
